package llin.example.jpa.service.impl;

import llin.example.jpa.dao.repository.SysUserRepository;
import llin.example.jpa.service.UserService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Larry
 * 2021/10/13 19:38
 *
 * @Version 1.0
 */
@Slf4j
@Service
public class UserServiceImpl implements UserService {

    @Autowired
    SysUserRepository sysUserRepository;

    @Override
    public Object select() {
        return sysUserRepository.findAll();
    }
}
